Skip to content

fix: wrap long question labels in the registration form - #68

Merged
rvirtaha merged 1 commit into
mainfrom
fix/registration-question-wrap
Aug 18, 2026
Merged

fix: wrap long question labels in the registration form#68
rvirtaha merged 1 commit into
mainfrom
fix/registration-question-wrap

Conversation

@rvirtaha

Copy link
Copy Markdown
Contributor

antd clips horizontal-layout form labels to a single fixed-height line
(white-space: nowrap + overflow: hidden), so long registration questions
rendered partially hidden on every screen size. Enable antd's labelWrap
on the registration form and let wrapped labels grow past the fixed
control height, which labelWrap alone does not reset.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com

antd clips horizontal-layout form labels to a single fixed-height line
(white-space: nowrap + overflow: hidden), so long registration questions
rendered partially hidden on every screen size. Enable antd's labelWrap
on the registration form and let wrapped labels grow past the fixed
control height, which labelWrap alone does not reset.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

📦 Next.js Bundle Analysis for @app/client

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 266.01 KB (🟡 +25 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Four Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (450 KB)
/admin/event/create 521.19 KB 787.2 KB 174.93% (🟡 +0.01%)
/admin/event/update/[id] 521.65 KB 787.66 KB 175.04% (+/- <0.01%)
/event/[slug]/register/[quotaId] 287.4 KB 553.41 KB 122.98% (+/- <0.01%)
/update-registration/[updateToken] 248.57 KB 514.58 KB 114.35% (+/- <0.01%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@rvirtaha
rvirtaha merged commit 69315f0 into main Aug 18, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant